// Table
// --------------------------------------------------
$table-width = 100%;
$table-border-color = $light-gray;
$table-font-size = 14px;
$table-content-vertical = middle;
$table-th-font-weight = 700;
$table-cell-padding = 8px;
$table-cell-border-right-color = $gray;
$table-cell-border-bottom-color = $light-gray;
$table-row-odd-bg-color = #fafafa;
$table-row-hover-bg-color = #f5f5f5;

.table-container {
  overflow: auto;
}

table {
  width: $table-width;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: $table-font-size;
  overflow: auto;
}

table > tbody > tr {
  &:nth-of-type(odd) {
    background-color: $table-row-odd-bg-color;
  }

  &:hover {
    background-color: $table-row-hover-bg-color;
  }
}

caption, th, td {
  padding: $table-cell-padding;
  vertical-align: $table-content-vertical;
  font-weight: normal;
}

th, td {
  border: 1px solid $table-border-color;
  border-bottom: 3px solid $table-cell-border-bottom-color;
}

th {
  padding-bottom: 10px;
  font-weight: $table-th-font-weight;
}

td {
  border-bottom-width: 1px;
}
